#include <iostream>
#include <string>
#include <string.h>

using namespace std;

struct mystruct {
	char a;
	char b;
	char c;
};

int main (void) {
	string s;
	char buff[100];
	memset(buff, 0, 100);
	mystruct tmp;
	tmp.a = 97;
	tmp.b = 0;
	tmp.c = 100;
	memcpy(buff, &tmp, 3);
	//s = buff;
	s.append(buff, 3);
	cout << buff << endl;
	cout << s << s.size() << endl;
	return 0;
}

